#include "ExMainHUD.h"
#include <QtWidgets/QApplication>
#include "ExNativeEventFilter.h"

int main(int argc, char *argv[])
{
	QApplication a(argc, argv);
	ExMainHUD w;
	if (!w.InitProcess())
		return 0;
	w.show();

	ExNativeEventFilter NativeEventFilter;
	NativeEventFilter.MainHUD = &w;
	a.installNativeEventFilter(&NativeEventFilter);

	return a.exec();
}
